<template>
  <div class="sell-short">
    <!-- 商品列表 -->
    <Goods :list="fastBuyGoods"></Goods>
    <Fastnav></Fastnav>
  </div>
</template>

<script setup lang="ts">
import { getPromotionGoods } from "@/api/promotion";

import Goods from "@/common/goods.vue";
import Fastnav from "@/common/fastnav.vue";
import { onMounted, ref } from "vue";

const fastBuyGoods = ref([]);

onMounted(() => {
  getPromotionGoods({ time: 50000 }).then((res) => {
    fastBuyGoods.value = res.data;
  });
});
</script>
